package com;

public class Middleserver implements Rent{
    Host host = new Host();

    public Middleserver(Host host) {
        host = this.host;
    }

    public void kanfang(){
        System.out.println("带你看房");
    }
    public void cost(){
        System.out.println("收你中介费");
    }
    public void cheat(){
        System.out.println("骗你点钱");
    }
    public void sign(){
        System.out.println("和你签约");
    }

    public void rent() {
        host.rent();
    }
}
